package com.qianfeng.mapper;

import com.qianfeng.pojo.SysUserInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/5 16:24
 */
@Repository
public interface UserMapper {

    List<SysUserInfo> findByUserNamePasswordEmail(@Param("username") String username,@Param("phone") String phone,@Param("email") String email);

    void addUser(SysUserInfo sysUserInfo);

    SysUserInfo findUserByName(String username);

    void updateLoginDataByUserId(@Param("uId") Long uId, @Param("ip") String ip);
}
